﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HerGoS.Interfaces;

namespace HerGoS.Administration.Entities
{
    [Serializable]   
    public class TipoContrato : HGSEntity
    {
       #region Construction
		public TipoContrato()
		{
            Initializer();
        }

        public TipoContrato(string descripcion) : this()
        {
            this.Descripcion = descripcion;
        }

        private void Initializer()
        {
            
        }

		#endregion

        #region DataMembers
        private String _Codigo;
        private String _Descripcion;
        #endregion

        #region Properties

        public String Codigo
        {
            get { return _Codigo; }
            set { this._Codigo = value; }
        }

        public String Descripcion
        {
            get { return _Descripcion; }
            set { this._Descripcion = value; }
        }
        #endregion
		
		#region Overrides
		/// <summary>
		/// Returns the string of the object.
		/// </summary>
		/// <returns>String</returns>
        public override string ToString()
        {
            return this.Descripcion;
        }


		#endregion

    }
}
